package com.yunhe.policyfulfillment.policyful.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: AppealSatisfaction
 * @Description:
 * @author: GongDaCheng
 * @Date: 11:15 2021/10/8
 */
@ApiModel("诉求满意度")
@Data
public class AppealSatisfaction implements Serializable {

    private static final long serialVersionUID = -7435411072918972412L;

    /**
     * 诉求满意度id
     */
    @ApiModelProperty("诉求满意度id")
    private long id;

    /**
     * 诉求id
     */
    @ApiModelProperty("诉求id")
    private long appealId;

    /**
     * 满意度评价 01：满意 02：比较满意 03：不满意
     */
    @ApiModelProperty("满意度评价 01：满意 02：比较满意 03：不满意")
    private String satisfactionEvaluation;

    /**
     * 详细评价
     */
    @ApiModelProperty("详细评价")
    private String detailedEvaluation;

    /**
     * 评价时间
     */
    @ApiModelProperty("评价时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
